\hypertarget{classDataPoint}{
\section{DataPoint Class Reference}
\label{classDataPoint}\index{DataPoint@{DataPoint}}
}


Class with x and y coordinates and values.  


{\ttfamily \#include $<$DataPoint.h$>$}\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classDataPoint_a45bc8701232ab658a17f6e4b057390e6}{DataPoint} (int y, int x, double value)
\item 
\hyperlink{classDataPoint_a1e1b3678b2d1522b7956148a57e1602f}{DataPoint} ()
\item 
virtual \hyperlink{classDataPoint_a69770421a98781a4b34cfff206a24a79}{$\sim$DataPoint} ()
\item 
int \hyperlink{classDataPoint_ab1f2ed163ab6446f552911710577255a}{getX} ()
\item 
void \hyperlink{classDataPoint_ae7957f930c2c3787625ab9a516942229}{setX} (int x)
\item 
int \hyperlink{classDataPoint_a71f38e8f8d7c497cd52d3d2ce8c5083c}{getY} ()
\item 
void \hyperlink{classDataPoint_a34b6e8eb5321e521e2c5aec839a44e91}{setY} (int y)
\item 
double \hyperlink{classDataPoint_a2e24a8383d98443e9439b4a63fddbf10}{getValue} ()
\item 
void \hyperlink{classDataPoint_aaab17e8fbfbe3c636d3a526e6e720829}{setValue} (double val)
\item 
int \hyperlink{classDataPoint_a10294d6df8b6753111370fba1905ca57}{IsKnown} ()
\item 
void \hyperlink{classDataPoint_ad80021ad7a852c5eb4bffe8c388cac98}{setKnown} (int k)
\item 
void \hyperlink{classDataPoint_afe061474b6ebcd601edefa17e53ef2b1}{setInfo} (int x, int y, double value)
\begin{DoxyCompactList}\small\item\em Sets points and value, known set to true. \item\end{DoxyCompactList}\item 
void \hyperlink{classDataPoint_aab0d663aaee83e379cb88487fa587fbf}{setEmptyPoint} (int x, int y)
\begin{DoxyCompactList}\small\item\em Sets points coordinates and known to false. \item\end{DoxyCompactList}\item 
double \hyperlink{classDataPoint_ad1bca84cf773ff97cad65bda76a8aa52}{distanceTo} (\hyperlink{classDataPoint}{DataPoint} other)
\begin{DoxyCompactList}\small\item\em Returns distance to \char`\"{}other\char`\"{} point. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
int \hyperlink{classDataPoint_a7ef2fe10be444f1f219f7c9ca9b3b4ca}{myX}
\item 
int \hyperlink{classDataPoint_a318ccf037e6b2e4d7883d614c44a3aba}{myY}
\item 
double \hyperlink{classDataPoint_ac1b068af648212b0efc8d808e3e649d5}{myValue}
\item 
int \hyperlink{classDataPoint_a2297aeb3504265b90cf2b218fef3b8a6}{known}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Class with x and y coordinates and values. 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classDataPoint_a45bc8701232ab658a17f6e4b057390e6}{
\index{DataPoint@{DataPoint}!DataPoint@{DataPoint}}
\index{DataPoint@{DataPoint}!DataPoint@{DataPoint}}
\subsubsection[{DataPoint}]{\setlength{\rightskip}{0pt plus 5cm}DataPoint::DataPoint (int {\em y}, \/  int {\em x}, \/  double {\em value})}}
\label{classDataPoint_a45bc8701232ab658a17f6e4b057390e6}
\hypertarget{classDataPoint_a1e1b3678b2d1522b7956148a57e1602f}{
\index{DataPoint@{DataPoint}!DataPoint@{DataPoint}}
\index{DataPoint@{DataPoint}!DataPoint@{DataPoint}}
\subsubsection[{DataPoint}]{\setlength{\rightskip}{0pt plus 5cm}DataPoint::DataPoint ()}}
\label{classDataPoint_a1e1b3678b2d1522b7956148a57e1602f}
\hypertarget{classDataPoint_a69770421a98781a4b34cfff206a24a79}{
\index{DataPoint@{DataPoint}!$\sim$DataPoint@{$\sim$DataPoint}}
\index{$\sim$DataPoint@{$\sim$DataPoint}!DataPoint@{DataPoint}}
\subsubsection[{$\sim$DataPoint}]{\setlength{\rightskip}{0pt plus 5cm}DataPoint::$\sim$DataPoint ()\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classDataPoint_a69770421a98781a4b34cfff206a24a79}


\subsection{Member Function Documentation}
\hypertarget{classDataPoint_ad1bca84cf773ff97cad65bda76a8aa52}{
\index{DataPoint@{DataPoint}!distanceTo@{distanceTo}}
\index{distanceTo@{distanceTo}!DataPoint@{DataPoint}}
\subsubsection[{distanceTo}]{\setlength{\rightskip}{0pt plus 5cm}double DataPoint::distanceTo ({\bf DataPoint} {\em other})}}
\label{classDataPoint_ad1bca84cf773ff97cad65bda76a8aa52}


Returns distance to \char`\"{}other\char`\"{} point. Caluculates using coordinates and distance formula {\bfseries Return:} (double) distance to given point 
\begin{DoxyParams}{Parameters}
\item[{\em other}]point to find distance to \end{DoxyParams}
\hypertarget{classDataPoint_a2e24a8383d98443e9439b4a63fddbf10}{
\index{DataPoint@{DataPoint}!getValue@{getValue}}
\index{getValue@{getValue}!DataPoint@{DataPoint}}
\subsubsection[{getValue}]{\setlength{\rightskip}{0pt plus 5cm}double DataPoint::getValue ()\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classDataPoint_a2e24a8383d98443e9439b4a63fddbf10}
\hypertarget{classDataPoint_ab1f2ed163ab6446f552911710577255a}{
\index{DataPoint@{DataPoint}!getX@{getX}}
\index{getX@{getX}!DataPoint@{DataPoint}}
\subsubsection[{getX}]{\setlength{\rightskip}{0pt plus 5cm}int DataPoint::getX ()\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classDataPoint_ab1f2ed163ab6446f552911710577255a}
\hypertarget{classDataPoint_a71f38e8f8d7c497cd52d3d2ce8c5083c}{
\index{DataPoint@{DataPoint}!getY@{getY}}
\index{getY@{getY}!DataPoint@{DataPoint}}
\subsubsection[{getY}]{\setlength{\rightskip}{0pt plus 5cm}int DataPoint::getY ()\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classDataPoint_a71f38e8f8d7c497cd52d3d2ce8c5083c}
\hypertarget{classDataPoint_a10294d6df8b6753111370fba1905ca57}{
\index{DataPoint@{DataPoint}!IsKnown@{IsKnown}}
\index{IsKnown@{IsKnown}!DataPoint@{DataPoint}}
\subsubsection[{IsKnown}]{\setlength{\rightskip}{0pt plus 5cm}int DataPoint::IsKnown ()\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classDataPoint_a10294d6df8b6753111370fba1905ca57}
\hypertarget{classDataPoint_aab0d663aaee83e379cb88487fa587fbf}{
\index{DataPoint@{DataPoint}!setEmptyPoint@{setEmptyPoint}}
\index{setEmptyPoint@{setEmptyPoint}!DataPoint@{DataPoint}}
\subsubsection[{setEmptyPoint}]{\setlength{\rightskip}{0pt plus 5cm}void DataPoint::setEmptyPoint (int {\em x}, \/  int {\em y})\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classDataPoint_aab0d663aaee83e379cb88487fa587fbf}


Sets points coordinates and known to false. \hypertarget{classDataPoint_afe061474b6ebcd601edefa17e53ef2b1}{
\index{DataPoint@{DataPoint}!setInfo@{setInfo}}
\index{setInfo@{setInfo}!DataPoint@{DataPoint}}
\subsubsection[{setInfo}]{\setlength{\rightskip}{0pt plus 5cm}void DataPoint::setInfo (int {\em x}, \/  int {\em y}, \/  double {\em value})\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classDataPoint_afe061474b6ebcd601edefa17e53ef2b1}


Sets points and value, known set to true. \hypertarget{classDataPoint_ad80021ad7a852c5eb4bffe8c388cac98}{
\index{DataPoint@{DataPoint}!setKnown@{setKnown}}
\index{setKnown@{setKnown}!DataPoint@{DataPoint}}
\subsubsection[{setKnown}]{\setlength{\rightskip}{0pt plus 5cm}void DataPoint::setKnown (int {\em k})\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classDataPoint_ad80021ad7a852c5eb4bffe8c388cac98}
\hypertarget{classDataPoint_aaab17e8fbfbe3c636d3a526e6e720829}{
\index{DataPoint@{DataPoint}!setValue@{setValue}}
\index{setValue@{setValue}!DataPoint@{DataPoint}}
\subsubsection[{setValue}]{\setlength{\rightskip}{0pt plus 5cm}void DataPoint::setValue (double {\em val})\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classDataPoint_aaab17e8fbfbe3c636d3a526e6e720829}
\hypertarget{classDataPoint_ae7957f930c2c3787625ab9a516942229}{
\index{DataPoint@{DataPoint}!setX@{setX}}
\index{setX@{setX}!DataPoint@{DataPoint}}
\subsubsection[{setX}]{\setlength{\rightskip}{0pt plus 5cm}void DataPoint::setX (int {\em x})\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classDataPoint_ae7957f930c2c3787625ab9a516942229}
\hypertarget{classDataPoint_a34b6e8eb5321e521e2c5aec839a44e91}{
\index{DataPoint@{DataPoint}!setY@{setY}}
\index{setY@{setY}!DataPoint@{DataPoint}}
\subsubsection[{setY}]{\setlength{\rightskip}{0pt plus 5cm}void DataPoint::setY (int {\em y})\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classDataPoint_a34b6e8eb5321e521e2c5aec839a44e91}


\subsection{Member Data Documentation}
\hypertarget{classDataPoint_a2297aeb3504265b90cf2b218fef3b8a6}{
\index{DataPoint@{DataPoint}!known@{known}}
\index{known@{known}!DataPoint@{DataPoint}}
\subsubsection[{known}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf DataPoint::known}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classDataPoint_a2297aeb3504265b90cf2b218fef3b8a6}
\hypertarget{classDataPoint_ac1b068af648212b0efc8d808e3e649d5}{
\index{DataPoint@{DataPoint}!myValue@{myValue}}
\index{myValue@{myValue}!DataPoint@{DataPoint}}
\subsubsection[{myValue}]{\setlength{\rightskip}{0pt plus 5cm}double {\bf DataPoint::myValue}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classDataPoint_ac1b068af648212b0efc8d808e3e649d5}
\hypertarget{classDataPoint_a7ef2fe10be444f1f219f7c9ca9b3b4ca}{
\index{DataPoint@{DataPoint}!myX@{myX}}
\index{myX@{myX}!DataPoint@{DataPoint}}
\subsubsection[{myX}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf DataPoint::myX}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classDataPoint_a7ef2fe10be444f1f219f7c9ca9b3b4ca}
\hypertarget{classDataPoint_a318ccf037e6b2e4d7883d614c44a3aba}{
\index{DataPoint@{DataPoint}!myY@{myY}}
\index{myY@{myY}!DataPoint@{DataPoint}}
\subsubsection[{myY}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf DataPoint::myY}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classDataPoint_a318ccf037e6b2e4d7883d614c44a3aba}


The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
\hyperlink{DataPoint_8h}{DataPoint.h}\item 
\hyperlink{DataPoint_8cpp}{DataPoint.cpp}\end{DoxyCompactItemize}
